<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Note</title>
    <style type="text/css">

        .note > div {
            width: 200px;
            height: 60px;
            border: white solid 2px;
            border-radius: 8px;

            position: absolute;
            left: -160px;
            transition: 0.5s;
        }

        .note > div > strong {
            line-height: 60px;
        }

        .note > div:hover {
            left: 0;
        }

        .red {
            background-color: red;
            top: 0;
        }

        .blue {
            background-color: skyblue;
            top: 60px;
        }

        .pink {
            background-color: pink;
            top: 120px;
        }


        .yellow {
            background-color: yellow;
            top: 180px;
        }
    </style>
</head>
<body>
<div class="note">


    <div class="red"><strong>note1</strong></div>
    <div class="blue"><strong>note2</strong></div>
    <div class="pink"><strong>note3</strong></div>
    <div class="yellow"><strong>note4</strong></div>


</div>

</body>
</html>
